import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'
import ExperimentHomeC from '../views/ExperimentHomeC.vue'
import ExperimentHomeA from '../views/ExperimentHomeA.vue'
import DataQuery from '../views/DataQuery.vue'
import ExperimentInfoTable from "../components/LabRecord/ExperimentInfoTableOne.vue";

const routes = [
    {
        path: '/',
        redirect: '/experiment-info-table'
    },
    {
        path: '/experiment-home-c',
        name: 'ExperimentHomeC',
        component: ExperimentHomeC
    },
    {
        path: '/experiment-home-a',
        name: 'ExperimentHomeA',
        component: ExperimentHomeA
    },
    {
        path: '/experiment-info-table',
        name: 'ExperimentInfoTable',
        component: ExperimentInfoTable
    },
    {
        path: '/data-query',
        name: 'DataQuery',
        component: DataQuery
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
});

export default router